import styled from "styled-components";
import {unSelect} from "@/common/header/style";
import {LightBackgroundColor, LightFontColor, SimpleBackgroundColor} from "@/style/Color";

/*该样式已被 AdminConsole 引用*/
export const PersonalDataContainer = styled.div`
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  float: left;
`
export const HeaderContainer = styled.div`
  width: 100%;
  height: 250px;
  background-color: #fff;
  float: left;

`
export const ItemContainer = styled.div`
  width: 100%;
  min-height: 100px;
  border-radius: 20px;
  padding: 0 0 20px 0;
  height: auto;
  //border: 1px solid #b5b5b5;
  //box-shadow: #d7d7d7 5px 5px 7px;
  background-color: ${LightBackgroundColor};

  h3 {
    color: ${LightFontColor};
  }

  margin-bottom: 20px;
  float: left;
`
export const TitleContainer = styled(unSelect)`
  width: inherit;
  height: 50px;
  float: left;
  cursor: unset;

  h3 {
    padding-left: 25px;
    font-weight: 600;
    line-height: 50px;
    font-size: 18px;
  }
`
export const InfoContainer = styled.div`
  width: inherit;
  height: calc(100% - 50px - 0.5px);
  float: left;
  background-color: inherit;
  padding: 10px 5px;
`
export const Item = styled.div`
  padding: 0 20px;
  border-radius: 25px;
  width: inherit;
  min-height: 25px;
  background-color: ${props => props.index % 2 === 0 ? LightBackgroundColor : SimpleBackgroundColor};
  margin: 3px 0;
  line-height: 25px;
  font-size: 13px;
  transition: .15s ease-in-out;
  color: ${LightFontColor};

  .edit {
    margin-left: 10px;
    float: left;
    cursor: pointer;
  }

  :hover {
    background-color: #45698e;
  }

  .info-title {
    display: block;
    float: left;
    width: 35%;
    height: auto;
    user-select: none;
  }

  .info-content {
    width: 65%;
    height: auto;
    float: left;
    user-select: unset;
  }

  .isNull {
    width: 70%;
    float: left;
    user-select: none;
    color: #9b9b9b;
  }
`
export const ImageContainer = styled.div`
  width: 100%;
  height: 160px;
  margin: 0 auto;
  padding: 80px 0 0 0;
  background-image: url("https://just-game.oss-cn-beijing.aliyuncs.com/System/mine-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  .photo {
    margin-left: 30px;
    background-color: white;
    padding: 5px;
    cursor: pointer;
    img {
      border-radius: 100%;
    }
  }
`
export const BtnContainer = styled.div`
  float: right;
`
export const AboutContainer = styled.div`
  width: 50%;
  height: 80px;
  margin: 8px 20px 0 190px;
  float: left;

  .user-name {
    margin: 0 10px;
    font-size: 30px;
    color: #666;
    float: left;
  }

  .description {
    font-size: 15px;
    color: #888;

    .double-quotation {
      margin: 0 10px;
    }
  }
`
export const MoreInformationContainer = styled.div`
  width: 20%;
  height: 80px;
  float: right;
  margin: 5px;

  p {
    padding: 0 5px 5px 5px;
    text-align: right;
    font-size: 10px;
    color: #888;

    button {
      margin-top: 10px;
      padding: 0 10px;
      background-color: #ffffff;
      font-size: 12px;
      font-weight: 600;
      color: #333;
    }
  }
`
export const EditContainer = styled.div`
  width: 400px;
  height: 500px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 50px 30px 30px 30px;
`
export const PayTitle = styled.span`
  font-size: 13px;
  color: #999;
  line-height: 150%;
`

export const PayContainer = styled.div`
  width: auto;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 5px 5px 5px #d9d9d9;
  border: 2px solid #d9d9d9;
  transition: .2s ease-in-out;
  height: auto;
  font-size: 15px;
  margin: 0 auto;

  span {
    margin-left: 5px;
    letter-spacing: 1px;
    color: #666;
  }

  &.select {
    border: 2px solid #ff6200;
  }
`
export const VipServerContainer = styled.div`
  width: 700px;
  height: auto;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;

  .close {
    svg {
      background-color: #c2c2c2;
      color: #fff;
      border-radius: 20px;
      box-shadow: 1px 1px 3px #999;
    }

    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;

  }

  .me {
    width: 35%;
    color: #e7e7e7;
    font-size: 13px;
    border-radius: 30px;
    background-color: #47474b;

    .img {
      margin-left: -3px;
      padding: 3px;
      background-color: #fff;

      img {
        border-radius: 100%;
      }
    }
  }

  .name {
    margin: 0 10px;
    line-height: 30px;
  }
`
export const VipItemContainer = styled.div`
  width: 100%;
  height: 250px;
  background-color: #ffffff;
`

export const VipItemHeader = styled.div`
  width: 100%;
  height: 70%;
  color: #777;
  position: relative;
  border-radius: 10px;
  border: 2px solid #eee;
  padding: 20% 20%;
  text-align: center;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .08);
  letter-spacing: 0.8px;
  transition: .2s ease-in-out;

  &.select {
    border-color: #ff6200;
  }

  .note {
    position: absolute;
    top: -10px;
    left: -2px;
    background-image: linear-gradient(to right, #ff6200, #ff2f00);
    width: auto;
    height: auto;
    padding: 5px;
    font-size: 13px;
    border-radius: 5px 5px 5px 0;
    color: white;
  }

  label {
    font-size: 15px;
    font-weight: 800;
    line-height: 250%;
  }

  .item-1 {
    position: relative;
    width: 100%;
    float: left;
  }

  .item-2 {
    position: relative;
    float: left;
    width: 100%;
    text-align: center;
    font-family: HanHei SC, PingFang SC, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 30px;
    letter-spacing: 1px;
    color: #fd3410;

    .symbol {
      font-size: 18px;
      margin-right: 3px;
    }

    .symbol-infin {
      font-family: serif;
      font-size: 12px;
      font-weight: 600;
    }

    .end-text {
      font-size: 13px;
    }
  }

  .item-3 {
    position: relative;
    float: left;
    width: 100%;
    text-align: center;
    font-family: HanHei SC, PingFang SC, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 13px;
    margin-top: 20px;
    color: #cccccc;

    text-decoration: line-through;
  }
`

export const MyVipHeadContainer = styled.div`
  width: 100%;
  height: 200px;
  padding: 10px;
  border: 1px solid #999;
  float: left;
`

export const MyVipHeadLeft = styled.div`
  width: 43%;
  height: 100%;
  border: 1px solid #dedede;
  float: left;
`

export const MyVipHeadRight = styled.div`
  width: 56%;
  height: 100%;
  border: 1px solid #dedede;
  float: right;
`
